Repository navigation
App name: the names in the code and on the disk read from the values - #1905
Open
vmillet-dev wants to merge 1 commit into
Open
vmillet-dev wants to merge 1 commit into
vmillet-dev wants to merge 1 commit into
Conversation
The shown name, the request header, the names written on disk or in a file, and the names the system sees are read from `brand`: - `USER_AGENT` and `is_default` from the display name; the GNOME shortcut's name too. - The profile folder from the identifier; the library file, the preference keys (`Preferences` puts the slug before a key the code names without it), the drawing address in a Note, the export's file name and the import's filter from the slug and the extension. - The instance's socket, the autostart entry, the GNOME prefix, the portal's identifiers, the tray's and the shortcuts' fallbacks, the window's app id, the log file and the terminal messages from the slug. - The sample notes' tag, the documentation's address and the GNOME note of the preferences read the values instead of a translation's word. The engine's error details drop the name rather than read it: they go to the log alone. Today's values are unchanged, so an installed copy finds everything where it was; `layout.rs`'s test spells the slug and the suffix. Part of #1896 (steps 2, 3, 4) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BbVs5tCyTr9AasGra3Zzg3
This was referenced Dec 4, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #1896: steps 2, 3 and 4. The last pull request of the ticket closes it.
With today's values nothing changes for an installed copy: every name below is spelled as before, now read from
brand.Step 2, the shown name
USER_AGENTis built from the display name, andis_defaultrecognises that prefix and no other.Step 3, the names written on disk or in a file
platform::paths::DEFAULT_PROFILE) isbrand::IDENTIFIER.{slug}.sqlite3.layout.rs's test spells the slug and the suffix, so the shape stays held."notes.activeSpace"), andPreferencesputs the slug before it. That removes 75 typeddevnotes.prefixes.richtext::picture::DRAWING_SOURCE) is{slug}:drawing/.golden/markdown/cases.jsonnames it{{drawing}}, which the golden test fills in.{slug}-<stamp>.{extension}, and the import filter offers{extension}besidejson.Step 4, the names the system sees, all from the slug:
Register, the session and request tokens);with_app_id, the log file's basename and thedevnotes:prefix of the terminal messages.Also here, because a translation spelled a name
tags.devnoteskey leaves both locales.{{binary}}.site.The updater's endpoint was already built from Cargo's
repositoryin #1904.Left for the next pull requests: test fixtures and comments that still spell the name,
DevNotesApp, the literal Cargo names and their test (steps 5, 6 and 9); the packages and the CI (step 7); the documentation and the site (step 8). The throwaway sweep and the rename rehearsal will be pasted in the last one, once nothing is left for them to find.Wiki. The overview's section « The application's names » says each value is also a macro (
brand::slug!()) for a constant built withconcat!. « Preferences, settings and the notifiers » says the code names a key without its prefix.Checks run (Linux)
cargo fmt --all --check,cargo clippy --workspace --all-targets --all-features -- -D warnings.cargo test --workspace --exclude e2e --no-fail-fast: every crate green.node scripts/architecture-links.mjs.--features e2e, Xvfb + openbox):01_first_day,07_reaching_from_anywhere,11_libraries_and_transferand13_making_it_minepass. The terminal stays quiet: no log line, only the journey's steps. These are the ticket's « first launch », « library transfer », « preferences on disk », « libraries » and « documentation », under the journeys' current names.Generated by Claude Code